<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.18"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>aws-crt-cpp: Aws::Crt::DateTime Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">aws-crt-cpp
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.18 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespaceAws.html">Aws</a></li><li class="navelem"><a class="el" href="namespaceAws_1_1Crt.html">Crt</a></li><li class="navelem"><a class="el" href="classAws_1_1Crt_1_1DateTime.html">DateTime</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="classAws_1_1Crt_1_1DateTime-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">Aws::Crt::DateTime Class Reference<span class="mlabels"><span class="mlabel">final</span></span></div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="DateTime_8h_source.html">DateTime.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:aa9886379acf252d3910a95087fca0c69"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1DateTime.html#aa9886379acf252d3910a95087fca0c69">DateTime</a> () noexcept</td></tr>
<tr class="separator:aa9886379acf252d3910a95087fca0c69"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a405046ab998a659d4e81c0e92deb4038"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1DateTime.html#a405046ab998a659d4e81c0e92deb4038">DateTime</a> (const std::chrono::system_clock::time_point &amp;timepointToAssign) noexcept</td></tr>
<tr class="separator:a405046ab998a659d4e81c0e92deb4038"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a81e135d47521f1ce8ae1c1136e37c9a1"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1DateTime.html#a81e135d47521f1ce8ae1c1136e37c9a1">DateTime</a> (uint64_t millisSinceEpoch) noexcept</td></tr>
<tr class="separator:a81e135d47521f1ce8ae1c1136e37c9a1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae7009ef79351826a6f9b449ab2c26811"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1DateTime.html#ae7009ef79351826a6f9b449ab2c26811">DateTime</a> (double epoch_millis) noexcept</td></tr>
<tr class="separator:ae7009ef79351826a6f9b449ab2c26811"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7426c7b910738e8ab7b6a184f91511d4"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1DateTime.html#a7426c7b910738e8ab7b6a184f91511d4">DateTime</a> (const char *timestamp, <a class="el" href="namespaceAws_1_1Crt.html#a5e400f1a0f711acffa367eda4d93061c">DateFormat</a> <a class="el" href="namespaceAws.html#a5b080fcf4aed7e14fb25c2638948af06">format</a>) noexcept</td></tr>
<tr class="separator:a7426c7b910738e8ab7b6a184f91511d4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a72e9d8d19bf3c15696e3bbadc6a22427"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1DateTime.html#a72e9d8d19bf3c15696e3bbadc6a22427">operator==</a> (const <a class="el" href="classAws_1_1Crt_1_1DateTime.html">DateTime</a> &amp;other) const noexcept</td></tr>
<tr class="separator:a72e9d8d19bf3c15696e3bbadc6a22427"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab53eaa51273982cb36461423829f8cb8"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1DateTime.html#ab53eaa51273982cb36461423829f8cb8">operator&lt;</a> (const <a class="el" href="classAws_1_1Crt_1_1DateTime.html">DateTime</a> &amp;other) const noexcept</td></tr>
<tr class="separator:ab53eaa51273982cb36461423829f8cb8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a096bcf2616370faed1163ed1b85bc34a"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1DateTime.html#a096bcf2616370faed1163ed1b85bc34a">operator&gt;</a> (const <a class="el" href="classAws_1_1Crt_1_1DateTime.html">DateTime</a> &amp;other) const noexcept</td></tr>
<tr class="separator:a096bcf2616370faed1163ed1b85bc34a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a89708edfba519de42e02c685981a9ce7"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1DateTime.html#a89708edfba519de42e02c685981a9ce7">operator!=</a> (const <a class="el" href="classAws_1_1Crt_1_1DateTime.html">DateTime</a> &amp;other) const noexcept</td></tr>
<tr class="separator:a89708edfba519de42e02c685981a9ce7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a078666b6e0915fcdbccb3db0c46403e7"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1DateTime.html#a078666b6e0915fcdbccb3db0c46403e7">operator&lt;=</a> (const <a class="el" href="classAws_1_1Crt_1_1DateTime.html">DateTime</a> &amp;other) const noexcept</td></tr>
<tr class="separator:a078666b6e0915fcdbccb3db0c46403e7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad53096467368950201c4bd953cb573aa"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1DateTime.html#ad53096467368950201c4bd953cb573aa">operator&gt;=</a> (const <a class="el" href="classAws_1_1Crt_1_1DateTime.html">DateTime</a> &amp;other) const noexcept</td></tr>
<tr class="separator:ad53096467368950201c4bd953cb573aa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aab0ccea08538e775e0901d3e3bb2a1d9"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classAws_1_1Crt_1_1DateTime.html">DateTime</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1DateTime.html#aab0ccea08538e775e0901d3e3bb2a1d9">operator+</a> (const std::chrono::milliseconds &amp;<a class="el" href="namespaceAws.html#a63d22a0af7bbcae8152004baa4756a4d">a</a>) const noexcept</td></tr>
<tr class="separator:aab0ccea08538e775e0901d3e3bb2a1d9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3ed252b775b7b93b0f9306fed5eafdcc"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classAws_1_1Crt_1_1DateTime.html">DateTime</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1DateTime.html#a3ed252b775b7b93b0f9306fed5eafdcc">operator-</a> (const std::chrono::milliseconds &amp;<a class="el" href="namespaceAws.html#a63d22a0af7bbcae8152004baa4756a4d">a</a>) const noexcept</td></tr>
<tr class="separator:a3ed252b775b7b93b0f9306fed5eafdcc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af4245f5dffe21862c40c8b9897e62c7a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classAws_1_1Crt_1_1DateTime.html">DateTime</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1DateTime.html#af4245f5dffe21862c40c8b9897e62c7a">operator=</a> (double secondsSinceEpoch) noexcept</td></tr>
<tr class="separator:af4245f5dffe21862c40c8b9897e62c7a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a11db8ce22cbc81e13bc63bc6d5e41669"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classAws_1_1Crt_1_1DateTime.html">DateTime</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1DateTime.html#a11db8ce22cbc81e13bc63bc6d5e41669">operator=</a> (uint64_t millisSinceEpoch) noexcept</td></tr>
<tr class="separator:a11db8ce22cbc81e13bc63bc6d5e41669"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a434bb7a4c5d8cee5f8fed30c966b5299"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classAws_1_1Crt_1_1DateTime.html">DateTime</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1DateTime.html#a434bb7a4c5d8cee5f8fed30c966b5299">operator=</a> (const std::chrono::system_clock::time_point &amp;timepointToAssign) noexcept</td></tr>
<tr class="separator:a434bb7a4c5d8cee5f8fed30c966b5299"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0bb8727d3d9424fed66be8b32f0d6b39"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classAws_1_1Crt_1_1DateTime.html">DateTime</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1DateTime.html#a0bb8727d3d9424fed66be8b32f0d6b39">operator=</a> (const char *timestamp) noexcept</td></tr>
<tr class="separator:a0bb8727d3d9424fed66be8b32f0d6b39"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab9f281beece516af94f9238738f999f1"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1DateTime.html#ab9f281beece516af94f9238738f999f1">operator bool</a> () const noexcept</td></tr>
<tr class="separator:ab9f281beece516af94f9238738f999f1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af5c8f8293fa7743026788709fbe7bc2d"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1DateTime.html#af5c8f8293fa7743026788709fbe7bc2d">GetLastError</a> () const noexcept</td></tr>
<tr class="separator:af5c8f8293fa7743026788709fbe7bc2d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a58cf4455dd30e094846ddd2248ace2f5"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1DateTime.html#a58cf4455dd30e094846ddd2248ace2f5">ToLocalTimeString</a> (<a class="el" href="namespaceAws_1_1Crt.html#a5e400f1a0f711acffa367eda4d93061c">DateFormat</a> <a class="el" href="namespaceAws.html#a5b080fcf4aed7e14fb25c2638948af06">format</a>, <a class="el" href="namespaceAws_1_1Crt.html#aa760a7d9714d6c28091c2b1cf7029876">ByteBuf</a> &amp;outputBuf) const noexcept</td></tr>
<tr class="separator:a58cf4455dd30e094846ddd2248ace2f5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abff4d5982c878d12f45d73e3d1663129"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1DateTime.html#abff4d5982c878d12f45d73e3d1663129">ToGmtString</a> (<a class="el" href="namespaceAws_1_1Crt.html#a5e400f1a0f711acffa367eda4d93061c">DateFormat</a> <a class="el" href="namespaceAws.html#a5b080fcf4aed7e14fb25c2638948af06">format</a>, <a class="el" href="namespaceAws_1_1Crt.html#aa760a7d9714d6c28091c2b1cf7029876">ByteBuf</a> &amp;outputBuf) const noexcept</td></tr>
<tr class="separator:abff4d5982c878d12f45d73e3d1663129"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1ec06f9f964f96043ecc1295aa451000"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1DateTime.html#a1ec06f9f964f96043ecc1295aa451000">SecondsWithMSPrecision</a> () const noexcept</td></tr>
<tr class="separator:a1ec06f9f964f96043ecc1295aa451000"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad51361b45c81a83207d85d8234599ef1"><td class="memItemLeft" align="right" valign="top">uint64_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1DateTime.html#ad51361b45c81a83207d85d8234599ef1">Millis</a> () const noexcept</td></tr>
<tr class="separator:ad51361b45c81a83207d85d8234599ef1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7c8f49bed89392ed84b13774b2402119"><td class="memItemLeft" align="right" valign="top">std::chrono::system_clock::time_point&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1DateTime.html#a7c8f49bed89392ed84b13774b2402119">UnderlyingTimestamp</a> () const noexcept</td></tr>
<tr class="separator:a7c8f49bed89392ed84b13774b2402119"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9871ca2bedb93683d9142a3e1d5eb228"><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1DateTime.html#a9871ca2bedb93683d9142a3e1d5eb228">GetYear</a> (bool localTime=false) const noexcept</td></tr>
<tr class="separator:a9871ca2bedb93683d9142a3e1d5eb228"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abd752c7d6f70456d1e09f9a7778416c2"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceAws_1_1Crt.html#ac61790998f4b26a7441e38849a6e8701">Month</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1DateTime.html#abd752c7d6f70456d1e09f9a7778416c2">GetMonth</a> (bool localTime=false) const noexcept</td></tr>
<tr class="separator:abd752c7d6f70456d1e09f9a7778416c2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a42987fe7b0ba448bbe4b7b6223d0d565"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1DateTime.html#a42987fe7b0ba448bbe4b7b6223d0d565">GetDay</a> (bool localTime=false) const noexcept</td></tr>
<tr class="separator:a42987fe7b0ba448bbe4b7b6223d0d565"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a41c3d15d588010e7122e8fd7e504beae"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceAws_1_1Crt.html#aceed5cb5b58c971ed0503442659e895f">DayOfWeek</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1DateTime.html#a41c3d15d588010e7122e8fd7e504beae">GetDayOfWeek</a> (bool localTime=false) const noexcept</td></tr>
<tr class="separator:a41c3d15d588010e7122e8fd7e504beae"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1cf16b20ab9055743b6f75ae6bc3b446"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1DateTime.html#a1cf16b20ab9055743b6f75ae6bc3b446">GetHour</a> (bool localTime=false) const noexcept</td></tr>
<tr class="separator:a1cf16b20ab9055743b6f75ae6bc3b446"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa3ba2ac4d8b62fb18fa9873c1e3df99e"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1DateTime.html#aa3ba2ac4d8b62fb18fa9873c1e3df99e">GetMinute</a> (bool localTime=false) const noexcept</td></tr>
<tr class="separator:aa3ba2ac4d8b62fb18fa9873c1e3df99e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6a7a0bd131619a9d08428155656121cf"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1DateTime.html#a6a7a0bd131619a9d08428155656121cf">GetSecond</a> (bool localTime=false) const noexcept</td></tr>
<tr class="separator:a6a7a0bd131619a9d08428155656121cf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4b1312c30af63f8c32211cdb6dfb8efd"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1DateTime.html#a4b1312c30af63f8c32211cdb6dfb8efd">IsDST</a> (bool localTime=false) const noexcept</td></tr>
<tr class="separator:a4b1312c30af63f8c32211cdb6dfb8efd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a676bb56e146bdf49e910109e2e4c6f11"><td class="memItemLeft" align="right" valign="top">std::chrono::milliseconds&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1DateTime.html#a676bb56e146bdf49e910109e2e4c6f11">operator-</a> (const <a class="el" href="classAws_1_1Crt_1_1DateTime.html">DateTime</a> &amp;other) const noexcept</td></tr>
<tr class="separator:a676bb56e146bdf49e910109e2e4c6f11"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a3a441c1813326b3d42ec7ea7deac796c"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classAws_1_1Crt_1_1DateTime.html">DateTime</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1DateTime.html#a3a441c1813326b3d42ec7ea7deac796c">Now</a> () noexcept</td></tr>
<tr class="separator:a3a441c1813326b3d42ec7ea7deac796c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="aa9886379acf252d3910a95087fca0c69"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa9886379acf252d3910a95087fca0c69">&#9670;&nbsp;</a></span>DateTime() <span class="overload">[1/5]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Aws::Crt::DateTime::DateTime </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Initializes time point to epoch </p>

</div>
</div>
<a id="a405046ab998a659d4e81c0e92deb4038"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a405046ab998a659d4e81c0e92deb4038">&#9670;&nbsp;</a></span>DateTime() <span class="overload">[2/5]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Aws::Crt::DateTime::DateTime </td>
          <td>(</td>
          <td class="paramtype">const std::chrono::system_clock::time_point &amp;&#160;</td>
          <td class="paramname"><em>timepointToAssign</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Initializes time point to any other arbirtrary timepoint </p>

</div>
</div>
<a id="a81e135d47521f1ce8ae1c1136e37c9a1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a81e135d47521f1ce8ae1c1136e37c9a1">&#9670;&nbsp;</a></span>DateTime() <span class="overload">[3/5]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Aws::Crt::DateTime::DateTime </td>
          <td>(</td>
          <td class="paramtype">uint64_t&#160;</td>
          <td class="paramname"><em>millisSinceEpoch</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Initializes time point to millis Since epoch </p>

</div>
</div>
<a id="ae7009ef79351826a6f9b449ab2c26811"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae7009ef79351826a6f9b449ab2c26811">&#9670;&nbsp;</a></span>DateTime() <span class="overload">[4/5]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Aws::Crt::DateTime::DateTime </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>epoch_millis</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Initializes time point to epoch time in seconds.millis </p>

</div>
</div>
<a id="a7426c7b910738e8ab7b6a184f91511d4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7426c7b910738e8ab7b6a184f91511d4">&#9670;&nbsp;</a></span>DateTime() <span class="overload">[5/5]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Aws::Crt::DateTime::DateTime </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>timestamp</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceAws_1_1Crt.html#a5e400f1a0f711acffa367eda4d93061c">DateFormat</a>&#160;</td>
          <td class="paramname"><em>format</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Initializes time point to value represented by timestamp and format. </p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a42987fe7b0ba448bbe4b7b6223d0d565"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a42987fe7b0ba448bbe4b7b6223d0d565">&#9670;&nbsp;</a></span>GetDay()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t Aws::Crt::DateTime::GetDay </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>localTime</em> = <code>false</code></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Get the Day of the Month portion of this dateTime. localTime if true, return local time, otherwise return UTC </p>

</div>
</div>
<a id="a41c3d15d588010e7122e8fd7e504beae"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a41c3d15d588010e7122e8fd7e504beae">&#9670;&nbsp;</a></span>GetDayOfWeek()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespaceAws_1_1Crt.html#aceed5cb5b58c971ed0503442659e895f">DayOfWeek</a> Aws::Crt::DateTime::GetDayOfWeek </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>localTime</em> = <code>false</code></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Get the Day of the Week portion of this dateTime. localTime if true, return local time, otherwise return UTC </p>

</div>
</div>
<a id="a1cf16b20ab9055743b6f75ae6bc3b446"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1cf16b20ab9055743b6f75ae6bc3b446">&#9670;&nbsp;</a></span>GetHour()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t Aws::Crt::DateTime::GetHour </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>localTime</em> = <code>false</code></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Get the Hour portion of this dateTime. localTime if true, return local time, otherwise return UTC </p>

</div>
</div>
<a id="af5c8f8293fa7743026788709fbe7bc2d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af5c8f8293fa7743026788709fbe7bc2d">&#9670;&nbsp;</a></span>GetLastError()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int Aws::Crt::DateTime::GetLastError </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="aa3ba2ac4d8b62fb18fa9873c1e3df99e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa3ba2ac4d8b62fb18fa9873c1e3df99e">&#9670;&nbsp;</a></span>GetMinute()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t Aws::Crt::DateTime::GetMinute </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>localTime</em> = <code>false</code></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Get the Minute portion of this dateTime. localTime if true, return local time, otherwise return UTC </p>

</div>
</div>
<a id="abd752c7d6f70456d1e09f9a7778416c2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abd752c7d6f70456d1e09f9a7778416c2">&#9670;&nbsp;</a></span>GetMonth()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespaceAws_1_1Crt.html#ac61790998f4b26a7441e38849a6e8701">Month</a> Aws::Crt::DateTime::GetMonth </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>localTime</em> = <code>false</code></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Get the Month portion of this dateTime. localTime if true, return local time, otherwise return UTC </p>

</div>
</div>
<a id="a6a7a0bd131619a9d08428155656121cf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6a7a0bd131619a9d08428155656121cf">&#9670;&nbsp;</a></span>GetSecond()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t Aws::Crt::DateTime::GetSecond </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>localTime</em> = <code>false</code></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Get the Second portion of this dateTime. localTime if true, return local time, otherwise return UTC </p>

</div>
</div>
<a id="a9871ca2bedb93683d9142a3e1d5eb228"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9871ca2bedb93683d9142a3e1d5eb228">&#9670;&nbsp;</a></span>GetYear()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">uint16_t Aws::Crt::DateTime::GetYear </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>localTime</em> = <code>false</code></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Get the Year portion of this dateTime. localTime if true, return local time, otherwise return UTC </p>

</div>
</div>
<a id="a4b1312c30af63f8c32211cdb6dfb8efd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4b1312c30af63f8c32211cdb6dfb8efd">&#9670;&nbsp;</a></span>IsDST()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool Aws::Crt::DateTime::IsDST </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>localTime</em> = <code>false</code></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Get whether or not this dateTime is in Daylight savings time. localTime if true, return local time, otherwise return UTC </p>

</div>
</div>
<a id="ad51361b45c81a83207d85d8234599ef1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad51361b45c81a83207d85d8234599ef1">&#9670;&nbsp;</a></span>Millis()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">uint64_t Aws::Crt::DateTime::Millis </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Milliseconds since epoch of this datetime. </p>

</div>
</div>
<a id="a3a441c1813326b3d42ec7ea7deac796c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3a441c1813326b3d42ec7ea7deac796c">&#9670;&nbsp;</a></span>Now()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classAws_1_1Crt_1_1DateTime.html">DateTime</a> Aws::Crt::DateTime::Now </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Get an instance of <a class="el" href="classAws_1_1Crt_1_1DateTime.html">DateTime</a> representing this very instant. </p>

</div>
</div>
<a id="ab9f281beece516af94f9238738f999f1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab9f281beece516af94f9238738f999f1">&#9670;&nbsp;</a></span>operator bool()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Aws::Crt::DateTime::operator bool </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">explicit</span><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a89708edfba519de42e02c685981a9ce7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a89708edfba519de42e02c685981a9ce7">&#9670;&nbsp;</a></span>operator!=()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool Aws::Crt::DateTime::operator!= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classAws_1_1Crt_1_1DateTime.html">DateTime</a> &amp;&#160;</td>
          <td class="paramname"><em>other</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="aab0ccea08538e775e0901d3e3bb2a1d9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aab0ccea08538e775e0901d3e3bb2a1d9">&#9670;&nbsp;</a></span>operator+()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classAws_1_1Crt_1_1DateTime.html">DateTime</a> Aws::Crt::DateTime::operator+ </td>
          <td>(</td>
          <td class="paramtype">const std::chrono::milliseconds &amp;&#160;</td>
          <td class="paramname"><em>a</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a676bb56e146bdf49e910109e2e4c6f11"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a676bb56e146bdf49e910109e2e4c6f11">&#9670;&nbsp;</a></span>operator-() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::chrono::milliseconds Aws::Crt::DateTime::operator- </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classAws_1_1Crt_1_1DateTime.html">DateTime</a> &amp;&#160;</td>
          <td class="paramname"><em>other</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Computes the difference between two <a class="el" href="classAws_1_1Crt_1_1DateTime.html">DateTime</a> instances and returns the difference in milliseconds. </p>

</div>
</div>
<a id="a3ed252b775b7b93b0f9306fed5eafdcc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3ed252b775b7b93b0f9306fed5eafdcc">&#9670;&nbsp;</a></span>operator-() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classAws_1_1Crt_1_1DateTime.html">DateTime</a> Aws::Crt::DateTime::operator- </td>
          <td>(</td>
          <td class="paramtype">const std::chrono::milliseconds &amp;&#160;</td>
          <td class="paramname"><em>a</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="ab53eaa51273982cb36461423829f8cb8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab53eaa51273982cb36461423829f8cb8">&#9670;&nbsp;</a></span>operator&lt;()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool Aws::Crt::DateTime::operator&lt; </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classAws_1_1Crt_1_1DateTime.html">DateTime</a> &amp;&#160;</td>
          <td class="paramname"><em>other</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a078666b6e0915fcdbccb3db0c46403e7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a078666b6e0915fcdbccb3db0c46403e7">&#9670;&nbsp;</a></span>operator&lt;=()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool Aws::Crt::DateTime::operator&lt;= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classAws_1_1Crt_1_1DateTime.html">DateTime</a> &amp;&#160;</td>
          <td class="paramname"><em>other</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a0bb8727d3d9424fed66be8b32f0d6b39"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0bb8727d3d9424fed66be8b32f0d6b39">&#9670;&nbsp;</a></span>operator=() <span class="overload">[1/4]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classAws_1_1Crt_1_1DateTime.html">DateTime</a> &amp; Aws::Crt::DateTime::operator= </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>timestamp</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Assign from an ISO8601 or RFC822 formatted string </p>

</div>
</div>
<a id="a434bb7a4c5d8cee5f8fed30c966b5299"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a434bb7a4c5d8cee5f8fed30c966b5299">&#9670;&nbsp;</a></span>operator=() <span class="overload">[2/4]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classAws_1_1Crt_1_1DateTime.html">DateTime</a> &amp; Aws::Crt::DateTime::operator= </td>
          <td>(</td>
          <td class="paramtype">const std::chrono::system_clock::time_point &amp;&#160;</td>
          <td class="paramname"><em>timepointToAssign</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Assign from another time_point </p>

</div>
</div>
<a id="af4245f5dffe21862c40c8b9897e62c7a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af4245f5dffe21862c40c8b9897e62c7a">&#9670;&nbsp;</a></span>operator=() <span class="overload">[3/4]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classAws_1_1Crt_1_1DateTime.html">DateTime</a> &amp; Aws::Crt::DateTime::operator= </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>secondsSinceEpoch</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Assign from seconds.millis since epoch. </p>

</div>
</div>
<a id="a11db8ce22cbc81e13bc63bc6d5e41669"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a11db8ce22cbc81e13bc63bc6d5e41669">&#9670;&nbsp;</a></span>operator=() <span class="overload">[4/4]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classAws_1_1Crt_1_1DateTime.html">DateTime</a> &amp; Aws::Crt::DateTime::operator= </td>
          <td>(</td>
          <td class="paramtype">uint64_t&#160;</td>
          <td class="paramname"><em>millisSinceEpoch</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Assign from millis since epoch. </p>

</div>
</div>
<a id="a72e9d8d19bf3c15696e3bbadc6a22427"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a72e9d8d19bf3c15696e3bbadc6a22427">&#9670;&nbsp;</a></span>operator==()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool Aws::Crt::DateTime::operator== </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classAws_1_1Crt_1_1DateTime.html">DateTime</a> &amp;&#160;</td>
          <td class="paramname"><em>other</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a096bcf2616370faed1163ed1b85bc34a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a096bcf2616370faed1163ed1b85bc34a">&#9670;&nbsp;</a></span>operator&gt;()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool Aws::Crt::DateTime::operator&gt; </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classAws_1_1Crt_1_1DateTime.html">DateTime</a> &amp;&#160;</td>
          <td class="paramname"><em>other</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="ad53096467368950201c4bd953cb573aa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad53096467368950201c4bd953cb573aa">&#9670;&nbsp;</a></span>operator&gt;=()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool Aws::Crt::DateTime::operator&gt;= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classAws_1_1Crt_1_1DateTime.html">DateTime</a> &amp;&#160;</td>
          <td class="paramname"><em>other</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a1ec06f9f964f96043ecc1295aa451000"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1ec06f9f964f96043ecc1295aa451000">&#9670;&nbsp;</a></span>SecondsWithMSPrecision()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">double Aws::Crt::DateTime::SecondsWithMSPrecision </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Get the representation of this datetime as seconds.milliseconds since epoch </p>

</div>
</div>
<a id="abff4d5982c878d12f45d73e3d1663129"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abff4d5982c878d12f45d73e3d1663129">&#9670;&nbsp;</a></span>ToGmtString()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool Aws::Crt::DateTime::ToGmtString </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceAws_1_1Crt.html#a5e400f1a0f711acffa367eda4d93061c">DateFormat</a>&#160;</td>
          <td class="paramname"><em>format</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceAws_1_1Crt.html#aa760a7d9714d6c28091c2b1cf7029876">ByteBuf</a> &amp;&#160;</td>
          <td class="paramname"><em>outputBuf</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Convert dateTime to GMT time string using predefined format. </p>

</div>
</div>
<a id="a58cf4455dd30e094846ddd2248ace2f5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a58cf4455dd30e094846ddd2248ace2f5">&#9670;&nbsp;</a></span>ToLocalTimeString()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool Aws::Crt::DateTime::ToLocalTimeString </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceAws_1_1Crt.html#a5e400f1a0f711acffa367eda4d93061c">DateFormat</a>&#160;</td>
          <td class="paramname"><em>format</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceAws_1_1Crt.html#aa760a7d9714d6c28091c2b1cf7029876">ByteBuf</a> &amp;&#160;</td>
          <td class="paramname"><em>outputBuf</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Convert dateTime to local time string using predefined format. </p>

</div>
</div>
<a id="a7c8f49bed89392ed84b13774b2402119"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7c8f49bed89392ed84b13774b2402119">&#9670;&nbsp;</a></span>UnderlyingTimestamp()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::chrono::system_clock::time_point Aws::Crt::DateTime::UnderlyingTimestamp </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>In the likely case this class doesn't do everything you need to do, here's a copy of the time_point structure. Have fun. </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>/home/ANT.AMAZON.COM/dengket/doc/aws-crt-cpp/include/aws/crt/<a class="el" href="DateTime_8h_source.html">DateTime.h</a></li>
<li>/home/ANT.AMAZON.COM/dengket/doc/aws-crt-cpp/source/<a class="el" href="DateTime_8cpp.html">DateTime.cpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.18
</small></address>
</body>
</html>
